home *** CD-ROM | disk | FTP | other *** search
- #include "proto/exec.h"
- #include "proto/dos.h"
- #include "mylib_pragmas.h"
- #include <stdio.h>
-
- char __stdiowin[] = "con:0/0/640/100/";
-
-
- struct Library *MyLibBase;
-
- main()
- {
- int ret;
-
- MyLibBase = OpenLibrary("mylib.library",0);
-
- if (MyLibBase)
- {
- printf("Library Opened Sucessfully.\n");
- ret = test1();
-
- printf("test1 returned = %d\n", ret);
-
- test2(ret+1);
-
- printf("test1 returned = %d\n",test1());
-
- CloseLibrary(MyLibBase);
-
- printf("Library Closed.\n");
-
- Delay(200);
- }
- }
-
-